<template>
    <P>这是about页面</P>
</template>
<script>
import { onMounted } from 'vue';
import { useRoute } from 'vue-router'

const route = useRoute()

onMounted(()=>{
    console.log(history.state);
    console,log(route);
    console.log(route.query);
})
</script>